package demo8;

import org.springframework.stereotype.Component;

@Component
public class Shirt implements Clothes{
    public void wear() {
        System.out.println("穿上T恤");
    }
}
